var fs = require('fs');
var path = '/Users/jiangleivos/alibaba-work/DB/keyword_3k.csv';
var data = fs.readFileSync(path).toString();
var keywordRows = data.split('\n');
keywordRows.forEach(function(keywordRow){
    var keywordList = keywordRow.split(',');
    var _path = path.split('.')[0]+'_rst.csv';
    keywordList[0] = unescape(unescape(keywordList[0]));
    // console.log(keywordList[0],unescape(keywordList[0]));
    keywordList.push('\n');
    var str = keywordList.join(',');
    fs.appendFileSync(_path,str);
});